package com.carson.data.server.controller;

import com.carson.data.server.pojo.Order;
import com.carson.data.server.pojo.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户地址管理
 */
@RestController
public class UserAddressController {

    @PostMapping(value = "/queryOrder")
    public Order queryOrder(@RequestBody User user) {
        Order order = new Order();
        order.setAge(1);
        order.setUsername("123123");
        return order;
    }


}